<?php
class Imageupload_Controller_Imageupload implements Imageupload_Controller_Mainable {
    
    public $page = array();
    private $imageupload_model_imageupload;
    private $imageupload_model_accessleveldecision;
    
    public function __construct() {
        $this->imageupload_model_accessleveldecision = new Imageupload_Model_Accessleveldecision;
        $this->imageupload_model_imageupload = new Imageupload_Model_Imageupload;
    }
    
    public function main(array $variables = null) {
        $this->imageupload_model_accessleveldecision->main($variables);
        $this->page = $this->imageupload_model_imageupload->main($variables);
        $view = new Core_Controller_View($this->page['template']);
        $view->assign('page', $this->page);
    }

}
